extends Area2D

@onready var animation_player: AnimationPlayer = $AnimationPlayer


func _process(delta: float) -> void:
	position.x -= delta * Global.speed


func collect_coin() -> void:
	animation_player.play("collect_coin")
